package com.zzm.common.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public class Md5Utils {
    public  static String encript(String username,String password,int salt){

        String enPassword = new Md5Hash(username+password+salt).toHex();
        return enPassword;
    }

    public static void main(String[] args) {
        String enPassword = Md5Utils.encript("admin","admin",111111);
        System.out.println(enPassword);
    }
}
